package com.panda.springcloud.clients;

import com.panda.springcloud.entity.Clazz;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 乐于吕
 * * @date 2024/10/25
 */
@FeignClient("CLAZZSERVICE")
public interface ClazzClient {

    @GetMapping("/clazzs/{id}")
    Clazz getClazzById(@PathVariable("id") Integer id);
}